package cn.nexd.map.location.collector;

/**
 * CollectorWrapper create by codingfish at 15/4/29
 * TODO:
 *
 * @Version V1.0
 */
public class CollectorWrap {
    private ICollector iCollector;

    public CollectorWrap(ICollector iCollector) {
        this.iCollector = iCollector;
    }

    public void startCollector() {
        if (iCollector.initilazeCollector()) {
            iCollector.startCollector();
        }
    }

    public void stopCollector() {
        iCollector.stopCollector();
    }
}
